package com.roc.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "T_DYPAY_OPERATORS_DETAIL")
public class OperatorAuth implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7712940017371556582L;
	
	public static final String STATUS_ONE = "0";//认证中
	public static final String STATUS_TWO = "1";//认证成功
	public static final String STATUS_THREE = "2";//认证驳回

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_DYPAY_OPERATORS_DETAIL")
	@SequenceGenerator(name = "SEQ_DYPAY_OPERATORS_DETAIL", sequenceName = "SEQ_DYPAY_OPERATORS_DETAIL")
	private Long id;
	/**
	 * 账户名
	 */
	@Column(name = "ACCOUNT_NO")
	private String accountNo;
	/**
	 * 真实姓名
	 */
	@Column(name = "NAME")
	private String userName;
	/**
	 * 证件类型:01身份证
	 */
	@Column(name = "PTYPE")
	private String cardType;
	/**
	 * 证件号
	 */
	@Column(name = "PID")
	private String cardNo;
	/**
	 * 正面照
	 */
	@Column(name = "FRONT_IMAGE")
	private String frontImage;
	/**
	 * 反面照
	 */
	@Column(name = "REVERSE_IMAGE")
	private String revereImage;
	/**
	 * 手持身份证正面
	 */
	@Column(name = "handle_image")
	private String handleImage;
	/**
	 * 手持身份证反面
	 */
	@Column(name = "handle_reverse_image")
	private String handleReverseImage;
	/**
	 * 实名认证状态：0-认证中 1-认证成功 2-认证失败
	 */
	@Column(name = "STATUS")
	private String status;
	/**
	 * 创建时间
	 */
	@Column(name = "CREATED_AT")
	private Date createAt;
	/**
	 * 创建人
	 */
	@Column(name = "CREATED_BY")
	private String createBy;
	/**
	 * 更新时间
	 */
	@Column(name = "UPDATED_AT")
	private Date updateAt;
	/**
	 * 更新人
	 */
	@Column(name = "UPDATED_BY")
	private String updateBy;
	/**
	 * 有效期开始时间
	 */
	@Column(name = "ext1")
	private String ext1;
	/**
	 * 有效期结束时间
	 */
	@Column(name = "ext2")
	private String ext2; 
	@Column(name = "ext3")
	private String ext3; //解限备注
	@Column(name = "ext4")
	private String ext4; //解限担保函照片
	@Column(name = "ext5")
	private String ext5; //限制标识
	@Transient
	private String createAtStr;
	@Transient
	private String updateAtStr;
	@Transient
	private Long receiveId;
	@Transient
	private List<Object> authReasonList;
	@Transient
	private String createAtStrR;
	@Transient
	private String phoneReason;
	@Transient
	private String idCardReason;
	@Transient
	private List<Object> limitReasonList; //限制理由
	@Transient
	private List<Object> authPassReasonList; //审核通过理由
	
	public String getPhoneReason() {
		return phoneReason;
	}
	public void setPhoneReason(String phoneReason) {
		this.phoneReason = phoneReason;
	}
	public String getIdCardReason() {
		return idCardReason;
	}
	public void setIdCardReason(String idCardReason) {
		this.idCardReason = idCardReason;
	}
	public Long getReceiveId() {
		return receiveId;
	}
	public void setReceiveId(Long receiveId) {
		this.receiveId = receiveId;
	}
	public String getCreateAtStr() {
		return createAtStr;
	}
	public void setCreateAtStr(String createAtStr) {
		this.createAtStr = createAtStr;
	}
	public String getUpdateAtStr() {
		return updateAtStr;
	}
	public void setUpdateAtStr(String updateAtStr) {
		this.updateAtStr = updateAtStr;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getAccountNo() {
		return accountNo;
	}
	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getCardType() {
		return cardType;
	}
	public void setCardType(String cardType) {
		this.cardType = cardType;
	}
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	public String getFrontImage() {
		return frontImage;
	}
	public void setFrontImage(String frontImage) {
		this.frontImage = frontImage;
	}
	public String getRevereImage() {
		return revereImage;
	}
	public void setRevereImage(String revereImage) {
		this.revereImage = revereImage;
	}
	public String getHandleImage() {
		return handleImage;
	}
	public void setHandleImage(String handleImage) {
		this.handleImage = handleImage;
	}
	public String getHandleReverseImage() {
		return handleReverseImage;
	}
	public void setHandleReverseImage(String handleReverseImage) {
		this.handleReverseImage = handleReverseImage;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Date getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(Date updateAt) {
		this.updateAt = updateAt;
	}
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	public List<Object> getAuthReasonList() {
		return authReasonList;
	}
	public void setAuthReasonList(List<Object> authReasonList) {
		this.authReasonList = authReasonList;
	}
	public String getCreateAtStrR() {
		return createAtStrR;
	}
	public void setCreateAtStrR(String createAtStrR) {
		this.createAtStrR = createAtStrR;
	}
	public String getExt1() {
		return ext1;
	}
	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}
	public String getExt2() {
		return ext2;
	}
	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}
	public List<Object> getLimitReasonList() {
		return limitReasonList;
	}
	public void setLimitReasonList(List<Object> limitReasonList) {
		this.limitReasonList = limitReasonList;
	}
	public String getExt3() {
		return ext3;
	}
	public void setExt3(String ext3) {
		this.ext3 = ext3;
	}
	public String getExt4() {
		return ext4;
	}
	public void setExt4(String ext4) {
		this.ext4 = ext4;
	}
	public String getExt5() {
		return ext5;
	}
	public void setExt5(String ext5) {
		this.ext5 = ext5;
	}
	public List<Object> getAuthPassReasonList() {
		return authPassReasonList;
	}
	public void setAuthPassReasonList(List<Object> authPassReasonList) {
		this.authPassReasonList = authPassReasonList;
	}
	
	
	
}
